//
//  PayModel.h
//  ZQLearn
//
//  Created by macfeel on 2019/5/20.
//  Copyright © 2019 macfeel. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface PayModel : NSObject


@property(nonatomic,copy)NSString *appid;//这个现在微信开放平台是和bundleid 绑定的，但是在发起微信支付时候，明参是下面的6个，都是从后台获取的，后台生成这些东西，然后客户端这是调起微信，然后在delegat中接受支付结果回调
@property(nonatomic,copy)NSString *noncestr;
@property(nonatomic,copy)NSString *package;
@property(nonatomic,copy)NSString *partnerid;
@property(nonatomic,copy)NSString *prepayid;
@property(nonatomic,copy)NSString *sign;
@property(nonatomic,copy)NSString *timestamp;


///微信支付
+(void)wxPay:(PayModel *)model;





@end

NS_ASSUME_NONNULL_END
